package com.ruoyi.environment.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 应急处置对象 opm_env_emerge_resp
 *
 * @author cjie
 * @date 2021-07-23
 */
@Data
@ApiModel
public class OpmEnvEmergeResp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    @JsonSerialize(using = com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long id;

    /** 方案名称 */
    @Excel(name = "方案名称")
    @ApiModelProperty(value = "方案名称")
    private String name;

    /** 事故等级 */
    @Excel(name = "事故等级")
    @ApiModelProperty(value = "事故等级")
    private String level;

    /** 组织机构 */
    @Excel(name = "组织机构")
    @ApiModelProperty(value = "组织机构")
    private String organize;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty(value = "责任人")
    private String responsible;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 方案详情 */
    @Excel(name = "方案详情")
    @ApiModelProperty(value = "方案详情")
    private String desc1;

    /** 附件数量 */
    @Excel(name = "附件数量")
    @ApiModelProperty(value = "附件数量")
    private Integer attachNum;

    /** 附件 */
    @Excel(name = "附件")
    @ApiModelProperty(value = "附件")
    private String attach;

    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;
}
